package com.uubx.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class InformationVo {

    /**
     * 分页大小
     */
    @ApiModelProperty(value = "分页大小",required=true)
    private Integer pageSize;
    /**
     * 当前页数
     */
    @ApiModelProperty(value = "当前页数",required=true)
    private Integer pageNum;
    /**
     *文章分类
     */
    @ApiModelProperty(value = "文章分类")
    private String category;
    /**
     *是否推荐
     *  1为推荐，2为不推荐
     */
    @ApiModelProperty("是否推荐 1为推荐，2为不推荐")
    private String recommend;
    /**
     *文章状态 1为上架，2为不上架
     */
    @ApiModelProperty("文章状态 1为上架，2为不上架")
    private String status;
    /**
     *文章标题
     */
    @ApiModelProperty(value = "文章标题")
    private String title;
    /**
     *
     */
    @ApiModelProperty(value = "文章编号")
    private String number;
    /**
     *
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "编辑开始时间")
    private Date lattimestart;
    /**
     *
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "编辑结束时间")
    private Date lasttimeend;

    /**
     * 最近编辑时间
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "上架开始时间")
    private Date puttimestart;
    /**
     * 最近编辑时间
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "上架结束时间")
    private Date puttimeend;

    /**
     *下架时间
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "下架开始时间")
    private Date removetimestart;

    /**
     *下架时间
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "下架结束时间")
    private Date removetimeend;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getLattimestart() {
        return lattimestart;
    }

    public void setLattimestart(Date lattimestart) {
        this.lattimestart = lattimestart;
    }

    public Date getLasttimeend() {
        return lasttimeend;
    }

    public void setLasttimeend(Date lasttimeend) {
        this.lasttimeend = lasttimeend;
    }

    public Date getPuttimestart() {
        return puttimestart;
    }

    public void setPuttimestart(Date puttimestart) {
        this.puttimestart = puttimestart;
    }

    public Date getPuttimeend() {
        return puttimeend;
    }

    public void setPuttimeend(Date puttimeend) {
        this.puttimeend = puttimeend;
    }

    public Date getRemovetimestart() {
        return removetimestart;
    }

    public void setRemovetimestart(Date removetimestart) {
        this.removetimestart = removetimestart;
    }

    public Date getRemovetimeend() {
        return removetimeend;
    }

    public void setRemovetimeend(Date removetimeend) {
        this.removetimeend = removetimeend;
    }
}
